import http from "./http"

// 登录
export const apiLogin = params => http.post('/user/login', params);

export const apiCheckLoginToken = params => http.post('/user/checkLoginToken', params);

// 获取菜单
export const apiGetMenus = params => http.post('/menu/getMenus', params);

// 退出登录
export const apiLoginOut = params => http.get('/logout', params);

// export const getRouters = params => http.get('/getRouters', params);
